home *** CD-ROM | disk | FTP | other *** search
-
-
-
- NNNNPPPPRRRRIIII((((1111)))) NNNNPPPPRRRRIIII((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- npri - modify the scheduling priority of a process
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- nnnnpppprrrriiii [ ----wwww ] | [ ----rrrr priority [ ----ssss policy ] ] | [ ----nnnn nice ] | [ ----tttt slice ]
- [ ----pppp pid ]
- nnnnpppprrrriiii [ ----wwww ] | [ ----rrrr priority [ ----ssss policy ] ] | [ ----nnnn nice ] | [ ----tttt slice ]
- [ cmd args ... ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This command allows the super-user to modify certain scheduling
- parameters of a process or to create a new process with specific
- scheduling parameters. For a detailed description of how the parameters
- affect the scheduling of a process, please see the _s_c_h_e_d__s_e_t_s_c_h_e_d_u_l_e_r(2)
- manual page. If _n_p_r_i is invoked without reference to a specific process
- or command to execute, it simply invokes a copy of the user's shell, as
- specified by the SHELL environment variable, with the scheduling
- characteristics specified.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- The following options are supported:
-
- ----wwww This option makes the process weightless. A weightless process
- executes at a priority strictly less than any other process in
- the system.
-
- ----rrrr _p_r_i_o_r_i_t_y
- This option sets the priority of a process. For real-time
- policies (see -s) the valid priority range is 0 to 255, while
- the time-share policy accepts priorities ranging from 1 to 40.
- When used without the -s option, npri will attempt to reset the
- priority of the specified process according to its current (or
- inherited) policy.
-
- ----ssss _p_o_l_i_c_y This option sets the scheduling policy of a process. The
- supported policies are FIFO and RR for real-time and TS for
- timeshare. Both the policy and priority will be inherited by
- any new children of the process. Care should be used when
- assigning real-time policies, since such a process is not
- preemptable by normal interactive processes. Refer to
- _r_e_a_l_t_i_m_e(5) for more details.
-
- ----nnnn _n_i_c_e This option sets the absolute nice value of a process. The
- nice value affects how normal UNIX priority calculations are
- made. The allowable range of nice values is 0 to 39. Refer to
- _n_i_c_e(2) for more information.
-
- ----tttt _s_l_i_c_e This option sets the time-slice for the process, in terms of
- the basic kernel clock frequency (called _t_i_c_k_s). The 4D Series
- machines use a clock frequency of 100 hertz, so one _t_i_c_k is 10
- milliseconds. For example, a slice value of 3 gives a 30
- millisecond time slice. The time slice value will be inherited
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- NNNNPPPPRRRRIIII((((1111)))) NNNNPPPPRRRRIIII((((1111))))
-
-
-
- by any new children of the process.
-
- ----hhhh _p_r_i_o_r_i_t_y
- This option has been deprecated and will be removed in a future
- release. Please use the -r and -s options to achieve the
- desired effect.
-
- ----pppp _p_i_d This option names a specific process whose priority is to be
- altered. This makes it possible to change priorities of a
- running process.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- nice(2), schedctl(2), sched_setscheduler(2), realtime(5).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-